export const CDN_CONFIG = {
  // 使用国内CDN
  providers: {
    default: 'aliyun',
    aliyun: {
      domain: 'https://cdn.example.com',
      region: 'oss-cn-hangzhou',
      bucket: 'live-platform',
    },
    qiniu: {
      domain: 'https://cdn2.example.com',
      zone: 'z0', // 华东
      bucket: 'live-backup',
    },
  },

  // 资源分发
  resources: {
    images: '${provider}/images',
    videos: '${provider}/videos',
    static: '${provider}/static',
  },
}
